package com.zb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @Author WEN
 * @Date 2023/11/15 0015
 **/
@Data
@ApiModel("附件图片对象")
public class AnnexVo {
    @ApiModelProperty(value = "附件图片路径ID")
    private Long id;

    @Length(max = 300, message = "附件图片路径长度限制 300 个字符")
    @ApiModelProperty(value = "附件图片路径")
    private String path;

    public AnnexVo() {
    }

    public AnnexVo(Long id, String path) {
        this.id = id;
        this.path = path;
    }
}
